<p style="font-size: 12px; left-margin: 5px; color: grey;">.: Ankietujący :.</p>
<ul>
    <li class="menu"><%= link_to 'Nowa ankieta',{:controller=> 'survey' ,:action =>'new_survey'}, :class=>"menu" %>
    <%  user=User.find(session[:user_id])%>
    	
    </li>
    <li class="menu">
        <%= link_to 'Kopie robocze',{:controller=> 'survey' , :action =>'list_survey_drafts'}, :class=>"menu"%>
        (<%= user.survey_drafts.length+user.foreign_survey_drafts.length %>)
    </li>    
    <li class="menu">
        <%= link_to 'Trwające',{ :controller=> 'survey' , :action =>'list_running'} , :class=>"menu"%>
        (<%= user.running.length%>)
    </li>    
    <li class="menu">
        <%= link_to 'Zakończone', {:controller=> 'survey' , :action =>'list_finished'} , :class=>"menu" %>
          (<%= user.finished.length + user.foreign_finished.length  %>)
    </li>
    
</ul>

<%= render :partial => 'menu/surveyee_menu'-%>